using System;
using System.Data;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Collections;
using System.Collections.Generic;

namespace UcAsp.Models
{
      [Table("Articles")]
      public class Articles
      {
         [Key]        
         public int ID { get; set; }
         public string Title { get; set; }
         public string Tag { get; set; }
         public string ArticleContent { get; set; }
         public string IconUrl { get; set; }
         public string Note1 { get; set; }
         public string Note2 { get; set; }
         public string Note3 { get; set; }
         public string Note4 { get; set; }
         public string Note5 { get; set; }
         public string Note6 { get; set; }
         public string Note7 { get; set; }
         public string Note8 { get; set; }
         public string Note9 { get; set; }
         public int Int1 { get; set; }
         public int Int2 { get; set; }
         public  double Float1 { get; set; }
         public string MetaKeyword { get; set; }
         public string MetaDescrition { get; set; }
         public string Description { get; set; }
         public DateTime AddDatetime { get; set; }
         public bool IsRelease { get; set; }
         public bool IsRecommend { get; set; }
         public int Hot { get; set; }
         public int Rate { get; set; }
         public int CategorieID { get; set; }
         [ForeignKey("CategorieID")]
         public Categories Categoriess { get; set; }
         } 
} 
